/**
 * @projectName demo-master
 * @fileName DemoServiceImpl.java
 * @packageName org.example.provider.service
 * @author xaoyaoyao
 * @date 2021/3/30 16:24
 * @version V1.0
 * @copyright (c) 2021, xaoyaoyao@aliyun.com All Rights Reserved.
 */
package org.example.provider.service;

import org.apache.dubbo.config.annotation.DubboService;
import org.example.api.DemoService;
import org.springframework.stereotype.Component;

/**
 * @author xaoyaoyao
 * @className DemoServiceImpl
 * @description
 * @date 2021/3/30 16:24
 */
@DubboService(interfaceClass = DemoService.class)
@Component
public class DemoServiceImpl implements DemoService {

	@Override
	public String hello(String parameter) {
		return "hello, " + parameter + "!";
	}
}